home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
023a
/
prop_man.zip
/
28DAY.SAB
next >
Wrap
Text File
|
1991-09-30
|
1KB
|
43 lines
SET MESSAGES OFF
LABEL START
CLEAR ALL V
CLS
DISPLAY CP.DIS
WRITE "28DAY.SAB" AT 2,36
LABEL FILL
FILLIN ADDCODE USING "Address Code --> " AT 7,5
set v nam to tenant1 in cur.mast where add.code = .addcode
set v ads to address in cur.mast where add.code = .addcode
write .nam at 9,10
write .ads at 9,40
SET V WHN to ""
set v whn date
fillin whn using "Enter Required Vacancy Date -> " at 11,5
label ask
set v prnt to ""
fillin prnt using "(P)rint Notice, (R)edo Notice or (Q)uit " at 18,5
if prnt = "p" then ; goto print ; endif
if prnt = "r" then ; cls ; goto fill ; endif
if prnt = "q" then ; cls ; goto ender ; endif
cls ; goto ask
label print
set null " "
OUTPUT PRINTER
PRINT 28DAY WHERE ADD.CODE = .ADDCODE
print 28day where add.code = .addcode
OUTPUT SCREEN
change notice to .whn in cur.mast where add.code = .addcode
CLS
WRITE "28DAY.SAB" AT 24,71
WRITE "SUCCESSFUL COMPLETION" AT 12,30
SET V TIME TO 0
WHILE TIME < 100 THEN
SET V TIME TO (.TIME + 1)
ENDWHILE
label ender
FILLIN Y/N USING "WOULD YOU LIKE TO RUN '28DAY.SAB' AGAIN ?" AT 12,18
IF Y/N = "Y" THEN ; goto start ; endif
SET MESSAGES ON
return